import Vue from "vue";
import Router from "vue-router";
import HelloWorld from "@/components/HelloWorld";
import Map from "@/components/echart/map";
import PointMap from "@/components/echart/point-map";
import LineMap from "@/components/echart/line-map";
import VisIndex from "@/components/vis/index";
import VisNodeImage from "@/components/vis/node-image";
import Edges from "@/components/vis/edges";
import Ring from "@/components/vis/Ring";
import TimeLineIndex from "@/components/timeline/index";
import map3d from "@/components/echart/map-3d";
import china3d from "@/components/echart/china-3d";
import textureMap from "@/components/echart/texture-map";
import heightLightMap from "@/components/echart/height-light-map";

import g6Index from "@/components/g6/g6-index";

import openlayerIndex from "@/components/openlayer/openlayer-index";

import particlesIndex from '@/components/particles/particles-index'

import cesiumIndex from '@/components/cesium/cesium-index'
import tailwindcss from '@/components/tailwindcss/tailwindcss'

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      name: "HelloWorld",
      component: HelloWorld
    },
    {
      path: "/Map",
      name: "Map",
      component: Map
    },
    {
      path: "/PointMap",
      name: "PointMap",
      component: PointMap
    },
    {
      path: "/LineMap",
      name: "LineMap",
      component: LineMap
    },
    {
      path: "/china3d",
      name: "china3d",
      component: china3d
    },
    {
      path: "/VisIndex",
      name: "VisIndex",
      component: VisIndex
    },
    {
      path: "/VisNodeImage",
      name: "VisNodeImage",
      component: VisNodeImage
    },
    {
      path: "/Edges",
      name: "Edges",
      component: Edges
    },
    {
      path: "/TimeLineIndex",
      name: "TimeLineIndex",
      component: TimeLineIndex
    },
    {
      path: "/map3d",
      name: "map3d",
      component: map3d
    },
    {
      path: "/Ring",
      name: "Ring",
      component: Ring
    },
    {
      path: "/textureMap",
      name: "textureMap",
      component: textureMap
    },
    {
      path: "/heightLightMap",
      name: "heightLightMap",
      component: heightLightMap
    },
    {
      path: "/g6Index",
      name: "g6Index",
      component: g6Index
    },
    {
      path: "/openlayerIndex",
      name: "openlayerIndex",
      component: openlayerIndex
    },
    {
      path: "/particlesIndex",
      name: "particlesIndex",
      component: particlesIndex
    },
    {
      path: "/cesiumIndex",
      name: "cesiumIndex",
      component: cesiumIndex
    },
    {
      path: "/tailwindcss",
      name: "tailwindcss",
      component: tailwindcss
    }
  ]
});
